import React, {useEffect} from 'react'
import { Outlet } from 'react-router-dom'
import './style.css'
import axios from 'axios'


export default function Main() {

    useEffect(() => {
        axios({
            url: '/api/getList',
            method: 'post',
        }).then(res => {
            console.log(res)
        })
    }, [])

    return (
        <div className="main-box">
            Main
            <Outlet/>
        </div>
    )
}
